import '../public.dart';

List<SingleChildCloneableWidget> providers = [
  ...independentServices,
//  ...dependentServices,
//  ...uiConsumableProviders
];

/// 独立的model
List<SingleChildCloneableWidget> independentServices = [
  ChangeNotifierProvider<ThemeModel>.value(value: ThemeModel()),
  ChangeNotifierProvider<UserModel>.value(value: UserModel()),
];

/// 需要依赖的model
// 不会用，比较深澳。。。。。
List<SingleChildCloneableWidget> dependentServices = [
//  ProxyProvider<UserModel, HomeModel>(
//    builder: (context, userModel, homeModel) => HomeModel(userModel),
//  )
];

List<SingleChildCloneableWidget> uiConsumableProviders = [
//  StreamProvider<User>(
//    builder: (context) => Provider.of<AuthenticationService>(context, listen: false).user,
//  )
];
